/* 
Document   : style
Created on : 2011-nov-28, 18:18:29
Author     : hans.calmfors
Description:
    Purpose of the stylesheet follows.
*/

/* 
TODO customize this sample style
Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

@font-face {
    font-family: texGyre;
    font-style: normal;
    font-weight: bold;
    src: url('texgyreadventor-bold.otf');
}

html {
    height: 100%;
}

body {
    /* from twitter bootstrap */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
/*    line-height: 18px;*/
    color: #404040;
    margin: 0;
    height: 100%;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#454545), to(#333));
    background: -moz-linear-gradient(0% 0% 90deg,#454545, #333333);
}

#wrapper {
    padding-top: 20px;
    -webkit-perspective: 3000;
    -moz-perspective: 3000;
}

.testcontainer {
    -webkit-perspective: 800;
    -moz-perspective: 800;
}

.puzzle_container {
    width:570px;
    height:570px;
    margin:0px auto;
    text-align:left;
    padding:15px;
    border:4px solid #381764;
    background-color:#eee;
    -webkit-perspective: 3000;
    -moz-perspective: 3000;
}

.cube {
    float: left;
    margin-left: 8px;
    margin-bottom: 8px;    
}

.face {
    position: absolute;
    background-color: rgb(50, 50, 100);
}

.dimmer {
    position: absolute;
    z-index: 3000;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: black;
    top: 0;
    left: 0;
    display: none;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
}

.messageBox {
    position: absolute;
    top: 0;
    
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 10px rgb(0, 0, 0);
     
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
     
    background-color: #eee;
    
    z-index:5000;
    
    padding: 10px;
    
}

.messageBox .textContainer {
    
    margin-top: 7px;
    text-align: center;
}

.messageBox .buttonContainer {
    
    margin-top: 7px;
    text-align: center;
}

/* clean gray @Chad Mazzola http://hellohappy.org/css3-buttons/
*******************************************************************************/
button.clean-gray {
  background-color: #eeeeee;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
  /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(top, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  color: #333;
  font: bold 11px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  line-height: 1;
  padding: 8px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
/*  width: 150px; */
    margin-left: 5px;
}

button.clean-gray:first-child {
    margin-left: 0px;
}

  button.clean-gray:hover {
    background-color: #dddddd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#bbbbbb));
    /* Saf4+, Chrome */
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(top, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd; }
  button.clean-gray:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; }

  button[disabled],
button[disabled]:hover,
button[disabled]:active {
  background: #999;
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  color: #aaa;
  cursor: not-allowed;
  text-shadow: none; }
/* ----- */
  
  
.countdownContainer {
    margin-top: 10px;
    text-align: center;
}

.countdownTimer {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#111), to(black));
    background: -moz-linear-gradient(0% 0% 90deg,#111, #000);
    color: #DDD;
    font-size: 45px;
    font-weight: bold;
    display: inline-block;
    padding: 0 20px;
    border-radius: 16px;
    -webkit-transform: translate3d(0, 50px, 0);
    -webkit-transition-property: -webkit-transform, opacity ;
    -webkit-transition-duration: 100ms, 100ms;
    -webkit-transition-timing: ease-in-out, linear;
    
    -moz-transform: translate3d(0, 50px, 0);
    -moz-transition-property: -webkit-transform, opacity ;
    -moz-transition-duration: 100ms, 100ms;
    -moz-transition-timing: ease-in-out, linear;
    min-width: 50px;
    
}


.statistics {
    
}

.statistics .left {
    text-align: right;
    float: left;
    width: 100px;
    font-size: 11px;
    line-height: 18px;
    margin-right: 3px;
}

.statistics .right {
    float: left;
    width: 550px;
/*    height: 40px;*/
    border-bottom: 1px solid #666;
    border-left: 1px solid #666;
}

.statistics .right .barContainer {
    margin-bottom: 3px;
}

.statistics .right .barContainer .bar {
    background-color: #f47820;
    height: 10px;
    color: white; 
    font-size: 10px;
    text-align: right;
    height: 13px;
    display: inline-block;
    -webkit-transition: width 300ms ease-in-out;
    -moz-transition: width 600ms ease-in-out;
}

/* For modern browsers */
.clearFix:before,
.clearFix:after {
    content:"";
    display:table;
}
.clearFix:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearFix {
    zoom:1;
}

.texHeader {
    font-family: "texGyre", Helvetica, Arial;
    font-weight: bold;
    color: #36185F;
    text-align: center;
    font-size: 60px;
    text-transform: uppercase;
}

.texHeader.subHeader {
    font-size: 30px;
    margin-top: -30px;
}


@-webkit-keyframes shake {
    0% {
        -webkit-transform: scale(1.0);
    }
    
    25% {
        -webkit-transform : scale(1.1);
    }
    
    50% {
        -webkit-transform : scale(0.9);
    }
    
    75% {
        -webkit-transform : scale(1.1);
    }
    
    100% {
        -webkit-transform: scale(1.0);
    }
}